package com.xqboss.apps.dto.consumer;

import com.xqboss.apps.dto.PageDto;
import com.xqboss.apps.enums.consumer.ConsumerApplyTypeEnum;
import com.xqboss.apps.enums.consumer.ConsumerMsgRecordEnum;
import com.xqboss.apps.enums.consumer.ConsumerTeamMemberTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

/**
 * @author Administrator
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("队伍消息记录dto")
public class ConsumerTeamMsgRecordDto extends PageDto {

    @ApiModelProperty("队伍id")
    @NotNull(message = "队伍不能为空")
    private Integer teamId;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("接受人")
    private Long acceptUserId;

    @ApiModelProperty("类型 1打卡,2成员变动,3管理员变动,4点赞,5送爱心,6提醒打卡")
    private ConsumerMsgRecordEnum type;

    @ApiModelProperty("源id")
    private Long sourceId;

    @ApiModelProperty("被邀请列表好友id")
    private List<Long> inviteUserId;

    @ApiModelProperty("1_用户申请，2_管理员邀请")
    private ConsumerApplyTypeEnum applyTypeEnum;

    //==================落地页邀请家庭成员加入队伍 需要=============
    @ApiModelProperty("关系类型")
    private ConsumerTeamMemberTypeEnum memberType;

    @ApiModelProperty("邀请人id")
    private Long inviteId;
}
